home *** CD-ROM | disk | FTP | other *** search
- @DATABASE "dopus/misc.h"
- @MASTER "opussdk:include/dopus/misc.h"
- @REMARK (c) Dr Greg Perry and Jonathan Potter, GPSoftware 1996
- @REMARK This file was initially created by ADtoHT 2.1 on 07-Sep-96 18:20:14
- @REMARK ADtoHT is © 1993-1995 Christian Stieber
-
- @NODE MAIN "dopus/misc.h"
- @TOC "DopusSDK/MAIN"
-
- @{"dopus/misc.h" LINK File}
-
- @ENDNODE
- @NODE File "dopus/misc.h"
- #ifndef _DOPUS_MISC
- #define _DOPUS_MISC
-
- /*****************************************************************************
-
- Miscellaneous functions
-
- *****************************************************************************/
-
- // Hex ascii to long
- long Atoh(char *,long);
-
- // Long to ascii (various methods)
- void Itoa(long,char *,char);
- void ItoaU(unsigned long,char *,char);
-
- // Convert long value to byte string
- void BytesToString(unsigned long,char *,short,char);
-
- // Division to a string
- void DivideToString(char *,unsigned long,unsigned long,short,char);
-
- // 32-bit divide with remainder
- ULONG DivideU(unsigned long,unsigned long,unsigned long *,struct Library *);
-
- // Convert BSTR to char *
- void BtoCStr(BSTR,char *,long);
-
- // Random numbers
- void Seed(long);
- long Random(long);
-
- // Build ascii string from rawkey values
- void BuildKeyString(unsigned short,unsigned short,unsigned short,unsigned short,char *);
-
- // Valid key qualifiers
- USHORT QualValid(unsigned short);
-
- // Convert rawkey values to a character
- BOOL ConvertRawKey(unsigned short,unsigned short,char *);
-
- // String manipulation
- BOOL StrCombine(char *,char *,char *,long);
- BOOL StrConcat(char *,char *,long);
-
- #endif
- @ENDNODE
-